package com.app.oral.model

import java.time.LocalDateTime

/**
 * 用户会话实体类
 */
data class UserSession(
    val id: Long? = null,
    val sessionKey: String,
    val openid: String,
    val userId: Long,
    val accessToken: String,
    val refreshToken: String,
    val createdTime: LocalDateTime? = null,
    val expiresTime: LocalDateTime,
    val lastAccessTime: LocalDateTime? = null,
    val isActive: Boolean = true
)